package com.ruoyi.user.enums;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Lu.F
 * @version 1.0
 * @date 2022/11/11 14:56
 */
@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum OrderStateEnum {

    /**
     * 0：预定中（已支付，未收货） 1：已收货 2：退订 3：禁用  4：待支付
     */
    SENDING(0,"预定中（未收货）"),
    RECEIVED(1,"已收货"),
    CANCEL_ORDER(2,"退订"),
    BAN(3,"禁用"),
    TO_PAY(4,"待支付")
    ;

    private int code;

    private String msg;
}
